package com.coincalf.wallet.blockchain.bean.xrp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author czj
 * @date 2019/9/11 11:38 AM
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class XrpAccount {

    @JsonProperty(value = "Account")
    private String address;

    @JsonProperty(value = "Balance")
    private BigDecimal balance;

    @JsonProperty(value = "Flags")
    private long flags;

    @JsonProperty(value = "LedgerEntryType")
    private String ledgerEntryType;

    @JsonProperty(value = "OwnerCount")
    private long ownerCount;

    @JsonProperty(value = "PreviousTxnID")
    private String previousTxnID;

    @JsonProperty(value = "PreviousTxnLgrSeq")
    private long previousTxnLgrSeq;

    @JsonProperty(value = "Sequence")
    private long sequence;

    @JsonProperty(value = "index")
    private String index;

}
